package com.lyw.db.dao

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query
import com.lyw.db.entites.Sentence
import com.lyw.db.entites.Writer

@Dao
interface SentenceDao {
    @Query("SELECT * FROM sentence")
    fun getAllWriters(): List<Sentence>

    @Insert
    fun insertAll(vararg sentence: Sentence)

    @Insert
    fun insertAll( sentences: List<Sentence>)
}